
<!DOCTYPE html>
<html lang="en" class="loading">
<head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title>python - fubaisen</title>
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
    <meta name="google" content="notranslate" />
    <meta name="keywords" content="Fechin,"> 
    <meta name="description" content="python源码
士兵突击源码：
1234567891011121314151617181920212223242526272829303132333435363738394041424344454,"> 
    <meta name="author" content="John Doe"> 
    <link rel="alternative" href="atom.xml" title="fubaisen" type="application/atom+xml"> 
    <link rel="icon" href="/img/favicon.png"> 
    
    
    
    <meta name="twitter:card" content="summary"/>
    <meta name="twitter:title" content="python - fubaisen"/>
    <meta name="twitter:description" content="python源码
士兵突击源码：
1234567891011121314151617181920212223242526272829303132333435363738394041424344454,"/>
    
    
    
    
    <meta property="og:site_name" content="fubaisen"/>
    <meta property="og:type" content="object"/>
    <meta property="og:title" content="python - fubaisen"/>
    <meta property="og:description" content="python源码
士兵突击源码：
1234567891011121314151617181920212223242526272829303132333435363738394041424344454,"/>
    
<link rel="stylesheet" href="/css/diaspora.css">

    <script>window.searchDbPath = "/search.xml";</script>
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro&display=swap" rel="stylesheet">
<meta name="generator" content="Hexo 6.3.0"></head>

<body class="loading">
    <span id="config-title" style="display:none">fubaisen</span>
    <div id="loader"></div>
    <div id="single">
    <div id="top" style="display: block;">
    <div class="bar" style="width: 0;"></div>
    <a class="iconfont icon-home image-icon" href="javascript:;" data-url="http://fubaisen.github.io"></a>
    <div title="播放/暂停" class="iconfont icon-play"></div>
    <h3 class="subtitle">python</h3>
    <div class="social">
        <div>
            <div class="share">
                <a title="获取二维码" class="iconfont icon-scan" href="javascript:;"></a>
            </div>
            <div id="qr"></div>
        </div>
    </div>
    <div class="scrollbar"></div>
</div>

    <div class="section">
        <div class="article">
    <div class='main'>
        <h1 class="title">python</h1>
        <div class="stuff">
            <span>三月 03, 2023</span>
            

        </div>
        <div class="content markdown">
            <p><a target="_blank" rel="noopener" href="https://gitee.com/lichaikui/dong">python源码</a></p>
<p>士兵突击源码：</p>
<figure class="highlight python"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br><span class="line">31</span><br><span class="line">32</span><br><span class="line">33</span><br><span class="line">34</span><br><span class="line">35</span><br><span class="line">36</span><br><span class="line">37</span><br><span class="line">38</span><br><span class="line">39</span><br><span class="line">40</span><br><span class="line">41</span><br><span class="line">42</span><br><span class="line">43</span><br><span class="line">44</span><br><span class="line">45</span><br><span class="line">46</span><br><span class="line">47</span><br><span class="line">48</span><br><span class="line">49</span><br><span class="line">50</span><br><span class="line">51</span><br><span class="line">52</span><br><span class="line">53</span><br><span class="line">54</span><br><span class="line">55</span><br><span class="line">56</span><br><span class="line">57</span><br><span class="line">58</span><br><span class="line">59</span><br><span class="line">60</span><br><span class="line">61</span><br><span class="line">62</span><br><span class="line">63</span><br><span class="line">64</span><br><span class="line">65</span><br><span class="line">66</span><br><span class="line">67</span><br><span class="line">68</span><br><span class="line">69</span><br><span class="line">70</span><br><span class="line">71</span><br><span class="line">72</span><br><span class="line">73</span><br><span class="line">74</span><br><span class="line">75</span><br><span class="line">76</span><br><span class="line">77</span><br><span class="line">78</span><br><span class="line">79</span><br><span class="line">80</span><br><span class="line">81</span><br><span class="line">82</span><br><span class="line">83</span><br><span class="line">84</span><br><span class="line">85</span><br><span class="line">86</span><br><span class="line">87</span><br><span class="line">88</span><br><span class="line">89</span><br><span class="line">90</span><br><span class="line">91</span><br><span class="line">92</span><br><span class="line">93</span><br><span class="line">94</span><br><span class="line">95</span><br><span class="line">96</span><br><span class="line">97</span><br><span class="line">98</span><br><span class="line">99</span><br><span class="line">100</span><br><span class="line">101</span><br><span class="line">102</span><br><span class="line">103</span><br><span class="line">104</span><br><span class="line">105</span><br><span class="line">106</span><br><span class="line">107</span><br><span class="line">108</span><br><span class="line">109</span><br><span class="line">110</span><br><span class="line">111</span><br><span class="line">112</span><br><span class="line">113</span><br><span class="line">114</span><br><span class="line">115</span><br><span class="line">116</span><br><span class="line">117</span><br><span class="line">118</span><br><span class="line">119</span><br><span class="line">120</span><br><span class="line">121</span><br><span class="line">122</span><br><span class="line">123</span><br><span class="line">124</span><br><span class="line">125</span><br><span class="line">126</span><br><span class="line">127</span><br><span class="line">128</span><br><span class="line">129</span><br><span class="line">130</span><br><span class="line">131</span><br><span class="line">132</span><br><span class="line">133</span><br><span class="line">134</span><br><span class="line">135</span><br><span class="line">136</span><br><span class="line">137</span><br><span class="line">138</span><br><span class="line">139</span><br><span class="line">140</span><br><span class="line">141</span><br><span class="line">142</span><br><span class="line">143</span><br><span class="line">144</span><br><span class="line">145</span><br><span class="line">146</span><br><span class="line">147</span><br><span class="line">148</span><br><span class="line">149</span><br><span class="line">150</span><br><span class="line">151</span><br><span class="line">152</span><br><span class="line">153</span><br><span class="line">154</span><br><span class="line">155</span><br><span class="line">156</span><br><span class="line">157</span><br><span class="line">158</span><br><span class="line">159</span><br><span class="line">160</span><br><span class="line">161</span><br><span class="line">162</span><br><span class="line">163</span><br><span class="line">164</span><br><span class="line">165</span><br><span class="line">166</span><br><span class="line">167</span><br><span class="line">168</span><br><span class="line">169</span><br><span class="line">170</span><br><span class="line">171</span><br><span class="line">172</span><br><span class="line">173</span><br><span class="line">174</span><br><span class="line">175</span><br><span class="line">176</span><br><span class="line">177</span><br><span class="line">178</span><br><span class="line">179</span><br><span class="line">180</span><br><span class="line">181</span><br><span class="line">182</span><br><span class="line">183</span><br><span class="line">184</span><br><span class="line">185</span><br><span class="line">186</span><br><span class="line">187</span><br><span class="line">188</span><br><span class="line">189</span><br><span class="line">190</span><br><span class="line">191</span><br><span class="line">192</span><br><span class="line">193</span><br><span class="line">194</span><br><span class="line">195</span><br><span class="line">196</span><br><span class="line">197</span><br><span class="line">198</span><br><span class="line">199</span><br><span class="line">200</span><br><span class="line">201</span><br><span class="line">202</span><br><span class="line">203</span><br><span class="line">204</span><br></pre></td><td class="code"><pre><span class="line">row = <span class="number">1</span></span><br><span class="line"><span class="keyword">while</span> row &lt;= <span class="number">3</span>:</span><br><span class="line"></span><br><span class="line">    <span class="keyword">import</span> random</span><br><span class="line"></span><br><span class="line">    <span class="keyword">class</span> <span class="title class_">Gun</span>:</span><br><span class="line"></span><br><span class="line">        <span class="keyword">def</span> <span class="title function_">__init__</span>(<span class="params">self, model</span>):</span><br><span class="line"></span><br><span class="line">            <span class="comment"># 枪的型号</span></span><br><span class="line">            self.model = model</span><br><span class="line">            <span class="comment"># 子弹数量</span></span><br><span class="line">            self.bullet_count = <span class="number">0</span></span><br><span class="line"></span><br><span class="line">        <span class="keyword">def</span> <span class="title function_">add_bullet</span>(<span class="params">self, count</span>):</span><br><span class="line">            self.bullet_count += count</span><br><span class="line"></span><br><span class="line">        <span class="keyword">def</span> <span class="title function_">shoot</span>(<span class="params">self, MS</span>):</span><br><span class="line">            <span class="string">&quot;&quot;&quot;</span></span><br><span class="line"><span class="string"></span></span><br><span class="line"><span class="string">            @param MS: 单发：1 连发：任意数字</span></span><br><span class="line"><span class="string">            @return:</span></span><br><span class="line"><span class="string">            &quot;&quot;&quot;</span></span><br><span class="line">            <span class="comment"># 判断子弹数量</span></span><br><span class="line">            <span class="keyword">if</span> self.bullet_count &lt;= <span class="number">0</span>:</span><br><span class="line">                <span class="built_in">print</span>(<span class="string">&quot;[%s] 滴~滴滴~  \n&quot;</span></span><br><span class="line">                      <span class="string">&quot;子弹剩余【0】 哔~&quot;</span> %</span><br><span class="line">                      self.model)</span><br><span class="line">                <span class="keyword">return</span></span><br><span class="line"></span><br><span class="line">            <span class="comment"># 发射子弹</span></span><br><span class="line">            <span class="keyword">if</span> MS == <span class="number">1</span>:</span><br><span class="line">                <span class="built_in">print</span>(<span class="string">&quot;【点射模式】&quot;</span>)</span><br><span class="line">                self.bullet_count -= <span class="number">1</span></span><br><span class="line"></span><br><span class="line">                <span class="comment"># 提示发射信息</span></span><br><span class="line">                <span class="built_in">print</span>(<span class="string">&quot;[%s]哒........\n              &quot;</span></span><br><span class="line">                      <span class="string">&quot;剩余子弹[%d]&quot;</span> %</span><br><span class="line">                      (self.model,</span><br><span class="line">                       self.bullet_count))</span><br><span class="line">            <span class="keyword">else</span>:</span><br><span class="line">                <span class="built_in">print</span>(<span class="string">&quot;【连发模式】&quot;</span>)</span><br><span class="line">                fire = random.randint(<span class="number">3</span>, <span class="number">100</span>)</span><br><span class="line">                self.bullet_count -= fire</span><br><span class="line">                <span class="comment"># 提示发射信息</span></span><br><span class="line">                <span class="keyword">if</span> fire == <span class="number">100</span>:</span><br><span class="line">                    <span class="built_in">print</span>(<span class="string">&quot;你打出了%d 颗子弹 超频发射&quot;</span> % fire)</span><br><span class="line">                <span class="built_in">print</span>(<span class="string">&quot;[%s]哒.哒哒..哒哒哒.....\n              &quot;</span></span><br><span class="line">                      <span class="string">&quot;你打出了%d 颗子弹 剩余子弹[%d]&quot;</span> %</span><br><span class="line">                      (self.model,</span><br><span class="line">                       self.bullet_count,</span><br><span class="line">                       fire))</span><br><span class="line"></span><br><span class="line"></span><br><span class="line">    <span class="keyword">class</span> <span class="title class_">Soldier</span>:</span><br><span class="line"></span><br><span class="line">        <span class="keyword">def</span> <span class="title function_">__init__</span>(<span class="params">self, name</span>):</span><br><span class="line"></span><br><span class="line">            <span class="comment"># 跳转工具</span></span><br><span class="line">            self.ha = <span class="literal">None</span></span><br><span class="line">            self.ze = <span class="literal">None</span></span><br><span class="line">            <span class="comment"># 姓名</span></span><br><span class="line">            self.name = name</span><br><span class="line">            <span class="comment"># 枪</span></span><br><span class="line">            self.gun = <span class="literal">None</span>  <span class="comment"># None 因为新兵没有枪  ### 给对象增加属性</span></span><br><span class="line"></span><br><span class="line">        <span class="keyword">def</span> <span class="title function_">__str__</span>(<span class="params">self</span>):</span><br><span class="line">            <span class="built_in">print</span>(<span class="string">&quot;祝你 “游戏愉快” &quot;</span>)</span><br><span class="line"></span><br><span class="line">        <span class="keyword">def</span> <span class="title function_">pong</span>(<span class="params">self</span>):</span><br><span class="line"></span><br><span class="line">            <span class="keyword">import</span> random</span><br><span class="line"><span class="comment"># 判断是否有枪</span></span><br><span class="line">            <span class="comment"># 可以开发一下杀死敌人 捡到 不同的枪</span></span><br><span class="line">            <span class="keyword">if</span> self.gun <span class="keyword">is</span> <span class="literal">None</span>:</span><br><span class="line">                <span class="built_in">print</span>(<span class="string">&quot;[%s]还没有枪&quot;</span> % self.name)</span><br><span class="line">                <span class="built_in">print</span>(<span class="string">&quot;撤离&quot;</span>)</span><br><span class="line">                <span class="keyword">return</span></span><br><span class="line"></span><br><span class="line"><span class="comment"># 是否有敌人</span></span><br><span class="line">            <span class="keyword">if</span> di == <span class="string">&quot;n&quot;</span>:</span><br><span class="line">                d = random.randint(<span class="number">1</span>, <span class="number">4</span>)</span><br><span class="line">                <span class="keyword">if</span> d &lt;= <span class="number">3</span>:</span><br><span class="line">                    <span class="built_in">print</span>(<span class="string">&quot;【由于你的失误/大意，你被埋伏的的人杀死】&quot;</span>)</span><br><span class="line">                    self.ha = <span class="number">5</span></span><br><span class="line">                <span class="keyword">else</span>:</span><br><span class="line">                    <span class="keyword">pass</span></span><br><span class="line">                qianjin = random.randint(<span class="number">200</span>, <span class="number">900</span>)</span><br><span class="line">                <span class="built_in">print</span>(<span class="string">&quot;继续前进%d 米，你发现了异常&quot;</span> % qianjin)</span><br><span class="line">                <span class="keyword">return</span></span><br><span class="line">            <span class="keyword">if</span> di == <span class="string">&quot;y&quot;</span>:</span><br><span class="line">                <span class="built_in">print</span>(<span class="string">&quot; %s 锁定敌人.........&quot;</span> % self.name)</span><br><span class="line"><span class="comment"># 装填子弹</span></span><br><span class="line">                <span class="built_in">print</span>(<span class="string">&quot;%d 剩余子弹&quot;</span> % self.gun.bullet_count)</span><br><span class="line">                danyao = <span class="built_in">input</span>(<span class="string">&quot;是否装填弹药,（y） (n):&quot;</span>)</span><br><span class="line">                <span class="keyword">if</span> danyao == <span class="string">&quot;y&quot;</span>:</span><br><span class="line">                    self.gun.bullet_count = <span class="number">100</span></span><br><span class="line">                    <span class="built_in">print</span>(<span class="string">&quot;剩余子弹 %d&quot;</span> % self.gun.bullet_count)</span><br><span class="line">                <span class="keyword">elif</span> danyao == <span class="string">&quot;n&quot;</span>:</span><br><span class="line">                    kanming = <span class="literal">True</span></span><br><span class="line">                    <span class="keyword">while</span> kanming:</span><br><span class="line">                        <span class="keyword">import</span> random</span><br><span class="line">                        yunqi = <span class="number">1</span>          <span class="comment">###########random.randint(1, 2)</span></span><br><span class="line">                        <span class="keyword">if</span> yunqi == <span class="number">1</span>:</span><br><span class="line">                            <span class="built_in">print</span>(<span class="string">&quot;你很幸运，一段时间内，敌人没有发现你&quot;</span>)</span><br><span class="line">                            keyi = <span class="built_in">int</span>(<span class="built_in">input</span>(<span class="string">&quot;继续等待？（1） 退出游戏（2） 装填弹药（3）？：&quot;</span>))</span><br><span class="line">                            <span class="keyword">if</span> keyi == <span class="number">1</span>:</span><br><span class="line">                                b = random.randint(<span class="number">1</span>,<span class="number">5</span>)</span><br><span class="line">                                <span class="keyword">if</span> b &lt;= <span class="number">2</span>:</span><br><span class="line">                                    <span class="built_in">print</span>(<span class="string">&quot;怎么回事&quot;</span>)</span><br><span class="line">                                    <span class="built_in">print</span>(<span class="string">&quot;敌人往你的方向看了一眼\n&quot;</span></span><br><span class="line">                                          <span class="string">&quot;虚惊一场，敌人没有发现你&quot;</span>)</span><br><span class="line">                                <span class="keyword">else</span>:</span><br><span class="line">                                    <span class="built_in">print</span>(<span class="string">&quot;很不幸，你被敌人发现&quot;</span>)</span><br><span class="line">                                    c = random.randint(<span class="number">1</span>, <span class="number">2</span>)</span><br><span class="line">                                    <span class="keyword">if</span> c == <span class="number">1</span>:</span><br><span class="line">                                        <span class="built_in">print</span>(<span class="string">&quot;你被一枪爆头&quot;</span>)</span><br><span class="line">                                    <span class="keyword">if</span> c == <span class="number">2</span>:</span><br><span class="line">                                        <span class="built_in">print</span>(<span class="string">&quot;你被打成筛子&quot;</span>)</span><br><span class="line">                                    self.ha = <span class="number">5</span></span><br><span class="line">                                    <span class="keyword">return</span> self.ha</span><br><span class="line">                            <span class="keyword">elif</span> keyi == <span class="number">2</span>:</span><br><span class="line">                                <span class="built_in">print</span>(<span class="string">&quot;你退出了游戏&quot;</span>)</span><br><span class="line">                                self.ha = <span class="number">5</span></span><br><span class="line">                                <span class="keyword">return</span> self.ha</span><br><span class="line">                            <span class="keyword">elif</span> keyi == <span class="number">3</span>:</span><br><span class="line">                                self.gun.bullet_count = <span class="number">100</span></span><br><span class="line">                                <span class="built_in">print</span>(<span class="string">&quot;剩余子弹 %d&quot;</span> % self.gun.bullet_count)</span><br><span class="line">                                <span class="built_in">print</span>(<span class="string">&quot;准备开火&quot;</span>)</span><br><span class="line">                                self.gun.shoot(<span class="built_in">input</span>(<span class="string">&quot;选择射击模式【单发：1 连发：任意数字】：&quot;</span>))</span><br><span class="line">                                a = random.randint(<span class="number">1</span>, <span class="number">5</span>)</span><br><span class="line">                                <span class="keyword">if</span> a &gt;= <span class="number">3</span>:</span><br><span class="line">                                    <span class="built_in">print</span>(<span class="string">&quot;你杀死了敌人,奖励子弹一百（已装弹）&quot;</span>)</span><br><span class="line">                                    self.gun.bullet_count = <span class="number">100</span></span><br><span class="line">                                    qianijn = random.randint(<span class="number">200</span>, <span class="number">900</span>)</span><br><span class="line">                                    <span class="built_in">print</span>(<span class="string">&quot;继续前进%d 米，你发现了异常&quot;</span> % qianijn)</span><br><span class="line">                                    <span class="keyword">return</span></span><br><span class="line">                                <span class="keyword">else</span>:</span><br><span class="line">                                    <span class="built_in">print</span>(<span class="string">&quot;敌人发现了你,你被反杀&quot;</span>)</span><br><span class="line">                                    self.ha = <span class="number">5</span></span><br><span class="line">                                kanming = <span class="literal">False</span></span><br><span class="line">                        <span class="keyword">else</span>:</span><br><span class="line">                            <span class="built_in">print</span>(<span class="string">&quot;敌人发现了你&quot;</span>)</span><br><span class="line">                            <span class="built_in">print</span>(<span class="string">&quot;你被杀 Game over&quot;</span>)</span><br><span class="line">                            self.ha = <span class="number">5</span></span><br><span class="line">                            kanming = <span class="literal">False</span></span><br><span class="line">                    <span class="keyword">return</span> self.ha</span><br><span class="line"></span><br><span class="line"><span class="comment"># 发射子弹</span></span><br><span class="line">                <span class="built_in">print</span>(<span class="string">&quot;准备开火&quot;</span>)</span><br><span class="line"></span><br><span class="line">                self.gun.shoot(<span class="built_in">input</span>(<span class="string">&quot;选择射击模式【单发：1 连发：任意数字】：&quot;</span>))</span><br><span class="line">                a = random.randint(<span class="number">1</span>, <span class="number">5</span>)</span><br><span class="line">                <span class="keyword">if</span> a &gt;= <span class="number">3</span>:</span><br><span class="line">                    <span class="built_in">print</span>(<span class="string">&quot;你杀死了敌人,奖励子弹一百（已装弹）&quot;</span>)</span><br><span class="line">                    self.gun.bullet_count = <span class="number">100</span></span><br><span class="line">                    qianijn = random.randint(<span class="number">200</span>, <span class="number">900</span>)</span><br><span class="line">                    <span class="built_in">print</span>(<span class="string">&quot;继续前进%d 米，你发现了异常&quot;</span> % qianijn)</span><br><span class="line">                    <span class="keyword">return</span></span><br><span class="line">                <span class="keyword">else</span>:</span><br><span class="line">                    <span class="built_in">print</span>(<span class="string">&quot;敌人发现了你,你被反杀&quot;</span>)</span><br><span class="line">                    self.ha = <span class="number">5</span></span><br><span class="line">            <span class="keyword">else</span>:</span><br><span class="line">                <span class="built_in">print</span>(<span class="string">&quot;【由于你的失误/大意，你被埋伏的的人杀死】&quot;</span>)</span><br><span class="line">                self.ha = <span class="number">5</span></span><br><span class="line"></span><br><span class="line"></span><br><span class="line"></span><br><span class="line"></span><br><span class="line"></span><br><span class="line">    <span class="comment"># 创建 枪 对象</span></span><br><span class="line">    ak47 = Gun(<span class="string">&quot;AK-47&quot;</span>)</span><br><span class="line"></span><br><span class="line">    <span class="comment"># 创建士兵</span></span><br><span class="line">    pishiduo = Soldier(<span class="string">&quot;屁事多&quot;</span>)</span><br><span class="line">    pishiduo.gun = ak47</span><br><span class="line"></span><br><span class="line"></span><br><span class="line"></span><br><span class="line"><span class="comment"># 场景需要</span></span><br><span class="line">    <span class="built_in">print</span>(<span class="string">&quot;第【%s】关&quot;</span> % row)</span><br><span class="line"></span><br><span class="line">    di = <span class="built_in">input</span>(<span class="string">&quot;对讲机：【小兵】，小心埋伏，小心埋伏，over&quot;</span></span><br><span class="line">               <span class="string">&quot;\n请观察前方是否有敌人 有（y） 没有(n):&quot;</span>)</span><br><span class="line"></span><br><span class="line">    pishiduo.pong()</span><br><span class="line"></span><br><span class="line">    <span class="keyword">if</span> pishiduo.ha == <span class="number">5</span>:</span><br><span class="line">        row = <span class="number">5</span></span><br><span class="line"></span><br><span class="line"><span class="comment"># 关卡</span></span><br><span class="line">    <span class="built_in">print</span>(<span class="string">&quot;~~~~~~~~~~~~~~&quot;</span>*<span class="number">50</span>)</span><br><span class="line">    row += <span class="number">1</span></span><br><span class="line"><span class="keyword">if</span> row == <span class="number">4</span>:</span><br><span class="line"></span><br><span class="line">    <span class="built_in">print</span>(<span class="string">&quot;对讲机： 支援已到达，可以撤退 over&quot;</span>)</span><br><span class="line"></span><br><span class="line">    <span class="built_in">print</span>(<span class="string">&quot;恭喜你，【大兵】，你通关了&quot;</span>)</span><br><span class="line"><span class="built_in">print</span>(<span class="string">&quot;~&quot;</span>*<span class="number">100</span>)</span><br><span class="line"><span class="built_in">print</span>(<span class="string">&quot; Game over&quot;</span>)</span><br><span class="line"><span class="built_in">print</span>(<span class="string">&quot; 游戏愉快&quot;</span>)</span><br><span class="line"><span class="built_in">input</span>()</span><br><span class="line"></span><br><span class="line"></span><br></pre></td></tr></table></figure>


            <!--[if lt IE 9]><script>document.createElement('audio');</script><![endif]-->
            <audio id="audio" loop="1" preload="auto" controls="controls" data-autoplay="false">
                <source type="audio/mpeg" src="">
            </audio>
            
                <ul id="audio-list" style="display:none">
                    
                        
                            <li title="0" data-url="http://link.hhtjim.com/163/425570952.mp3"></li>
                        
                    
                        
                            <li title="1" data-url="http://link.hhtjim.com/163/425570952.mp3"></li>
                        
                    
                </ul>
            
        </div>
        
        
    <div id="gitalk-container" class="comment link"
		data-enable="false"
        data-ae="false"
        data-ci=""
        data-cs=""
        data-r=""
        data-o=""
        data-a=""
        data-d="false"
    >查看评论</div>


    </div>
    
</div>


    </div>
</div>
</body>


<script src="//lib.baomitu.com/jquery/1.8.3/jquery.min.js"></script>
<script src="/js/plugin.js"></script>
<script src="/js/typed.js"></script>
<script src="/js/diaspora.js"></script>


<link rel="stylesheet" href="/photoswipe/photoswipe.css">
<link rel="stylesheet" href="/photoswipe/default-skin/default-skin.css">


<script src="/photoswipe/photoswipe.min.js"></script>
<script src="/photoswipe/photoswipe-ui-default.min.js"></script>


<!-- Root element of PhotoSwipe. Must have class pswp. -->
<div class="pswp" tabindex="-1" role="dialog" aria-hidden="true">
    <!-- Background of PhotoSwipe. 
         It's a separate element as animating opacity is faster than rgba(). -->
    <div class="pswp__bg"></div>
    <!-- Slides wrapper with overflow:hidden. -->
    <div class="pswp__scroll-wrap">
        <!-- Container that holds slides. 
            PhotoSwipe keeps only 3 of them in the DOM to save memory.
            Don't modify these 3 pswp__item elements, data is added later on. -->
        <div class="pswp__container">
            <div class="pswp__item"></div>
            <div class="pswp__item"></div>
            <div class="pswp__item"></div>
        </div>
        <!-- Default (PhotoSwipeUI_Default) interface on top of sliding area. Can be changed. -->
        <div class="pswp__ui pswp__ui--hidden">
            <div class="pswp__top-bar">
                <!--  Controls are self-explanatory. Order can be changed. -->
                <div class="pswp__counter"></div>
                <button class="pswp__button pswp__button--close" title="Close (Esc)"></button>
                <button class="pswp__button pswp__button--share" title="Share"></button>
                <button class="pswp__button pswp__button--fs" title="Toggle fullscreen"></button>
                <button class="pswp__button pswp__button--zoom" title="Zoom in/out"></button>
                <!-- Preloader demo http://codepen.io/dimsemenov/pen/yyBWoR -->
                <!-- element will get class pswp__preloader--active when preloader is running -->
                <div class="pswp__preloader">
                    <div class="pswp__preloader__icn">
                      <div class="pswp__preloader__cut">
                        <div class="pswp__preloader__donut"></div>
                      </div>
                    </div>
                </div>
            </div>
            <div class="pswp__share-modal pswp__share-modal--hidden pswp__single-tap">
                <div class="pswp__share-tooltip"></div> 
            </div>
            <button class="pswp__button pswp__button--arrow--left" title="Previous (arrow left)">
            </button>
            <button class="pswp__button pswp__button--arrow--right" title="Next (arrow right)">
            </button>
            <div class="pswp__caption">
                <div class="pswp__caption__center"></div>
            </div>
        </div>
    </div>
</div>






</html>
